from Buiness.MainPage import MainPage
from common.BasePage1 import BasePage1
class Management(BasePage1):
    def __init__(self,driver=None):
        super().__init__(driver)
        self.system_manage_loc = "xpath,/html/body/div[2]/div/div/div[1]/div/a/h3"
    def enter_system_manage(self):
        self.click(self.system_manage_loc)
        self.wait(1)
    def test_management(self):
        mp = MainPage(driver=self.driver)
        mp.test_mainpage()
        self.enter_system_manage()
if __name__ == '__main__':
    mg=Management()
    mg.test_management()